package cn.unknowpupil.init.domain.dto;

import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Created at 2020/11/17 by w10g <br>
 * Initialize PageDto ... <br>
 *
 * @author unknowpupil
 * @since 0.0.1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageDto {
    @NotNull(message = "当前页为必填项")
    private Integer page;
    @NotNull(message = "笔数为必填项")
    private Integer limit;

}
